//
//  TodaySignTableview.h
//  BOSS-SOOC
//
//  Created by houshijia on 16/9/2.
//  Copyright © 2016年 Gcx. All rights reserved.
//

#import "SCTableView.h"
#import "SignTopView.h"
#import "UITableView+SCKit.h"
#import "TodaySignCell.h"
#import "SubLBXScanViewController.h"
#import "TodaySignView.h"

@protocol TodaySignTableviewDelegate <NSObject>

/**
 扫描二维码签到
 */
-(void)signWithCode;

/**
 点击签到按钮签到
 */
-(void)signWithClickButton:(SignModel*)model;


@end

@interface TodaySignTableview : UITableView<SignTopDelegate,LBXScanViewControllerDelegate>

//头视图
@property (nonatomic,strong) SignTopView         *headerView;

//协议代理
@property (nonatomic, strong) id<TodaySignTableviewDelegate> todayDelegate;

//课堂id
@property (nonatomic, strong) NSString *ktid;

//签到方式
@property (nonatomic, strong) NSString *qdfs;

//是否有拍照
@property (nonatomic, strong) NSString *isData;

//签到的model
@property (nonatomic, strong) SignModel *currentModel;

@property (strong,nonatomic) UIButton *dismissBtn;


@property (nonatomic,strong) TodaySignView *popV;

@property (nonatomic,assign) BOOL isImg;

@property (nonatomic, strong) UIViewController *mainController;

/**
 *  在没有内容的情况下获取内容
 */
- (void)loadDataOfNone;

/**
 *  重置内部数据
 */
- (void)reset;
/**
 *  数据加载
 *
 *  @param reload 是否重置数据
 */
- (void)isReloadData:(BOOL)reload;
@end
